import request from '@/utils/request'
function getUrl(url) { return '/api/admin/' + url }


//添加火情信息
export function addInFireproofRegion(data) {
    return request({
        url: getUrl("inFireproofRegion/addInFireproofRegion"),
        method: 'post',
        data
    })
}

//更新火情信息
export function updateInFireproofRegion(data) {
    return request({
        url: getUrl("inFireproofRegion/updateInFireproofRegion"),
        method: 'post',
        data
    })
}

export function getInFireproofRegionVo(data) {
    return request({
        url: getUrl("inFireproofRegion/getInFireproofRegionVo"),
        method: 'post',
        data
    })
}

export function deleteInFireproofRegion(data) {
    return request({
        url: getUrl("inFireproofRegion/deleteInFireproofRegion"),
        method: 'post',
        data
    })
}

export function getInFireproofRegionList(data) {
    return request({
        url: getUrl("inFireproofRegion/getInFireproofRegionList"),
        method: 'post',
        data
    })
}